package com.ruoyi.project.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 系统核心实体类（适配新数据格式：ID类字段改为String）
 */
public class SystemEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    // 1. 预约记录表（res_table）字段
    private String reservationId;          // 预约ID（原res_id，新格式：String）
    private String patientName;            // 患者姓名（原name）
    private String patientPhoneNumber;     // 患者联系电话（原phone）
    private String attendingDoctorName;    // 主治医生姓名（原doctor）
    private Date prescriptionCreateTime;   // 处方创建时间（原prescribetime）
    private Date medicineDistributionTime; // 药品分发时间（原distributetime）
    private Integer processStatus;         // 处理状态（原resolve）
    private String patientIdentityNumber;  // 患者身份标识号（原identity）
    private String departmentInformationId;// 科室ID（原department_id，新格式：String）

    // 2. 科室信息表（department_list）字段
    private String departmentName;         // 科室名称（原department）

    // 3. 处方信息表（prescription）字段
    private String prescriptionInformationId; // 处方ID（原id，新格式：String）
    private String patientSymptoms;          // 患者症状（原symptoms）
    private String prescriptionDescription;  // 处方描述（原description）

    // 4. 个性化建议清单表（per_suggest_list）字段
    private String personalizedSuggestionId; // 建议ID（原id，新格式：String）
    private Integer suggestionInputMode;     // 建议输入模式（原mode）
    private String sportsSuggestion;         // 运动建议（原sports）
    private String dietSuggestion;           // 饮食建议（原diet）
    private String sleepSuggestion;          // 睡眠建议（原sleep）
    private String otherCustomSuggestion;    // 其他自定义建议（原other）

    // 5. 个人药品清单表（per_med_list）字段
    private String personalMedicineListId;   // 药品清单ID（原id，新格式：String）
    private String medicineInformationId;    // 药品ID（原med_id，新格式：String）
    private Integer medicineQuantity;        // 药品数量（原number）

    // 6. 药品信息表（medicine_table）字段
    private String medicineId;              // 药品ID（原id，新格式：String）
    private String medicineName;            // 药品名称（原med_name）
    private BigDecimal medicinePrice;       // 药品价格（原price，若需改为String可调整）
    private String medicineSpecification;   // 药品规格（原specificat）
    private String medicineUsageMethod;     // 药品使用方法（原usage_method）

    // 所有字段 Getter 和 Setter
    public String getReservationId() { return reservationId; }
    public void setReservationId(String reservationId) { this.reservationId = reservationId; }
    public String getPatientName() { return patientName; }
    public void setPatientName(String patientName) { this.patientName = patientName; }
    public String getPatientPhoneNumber() { return patientPhoneNumber; }
    public void setPatientPhoneNumber(String patientPhoneNumber) { this.patientPhoneNumber = patientPhoneNumber; }
    public String getAttendingDoctorName() { return attendingDoctorName; }
    public void setAttendingDoctorName(String attendingDoctorName) { this.attendingDoctorName = attendingDoctorName; }
    public Date getPrescriptionCreateTime() { return prescriptionCreateTime; }
    public void setPrescriptionCreateTime(Date prescriptionCreateTime) { this.prescriptionCreateTime = prescriptionCreateTime; }
    public Date getMedicineDistributionTime() { return medicineDistributionTime; }
    public void setMedicineDistributionTime(Date medicineDistributionTime) { this.medicineDistributionTime = medicineDistributionTime; }
    public Integer getProcessStatus() { return processStatus; }
    public void setProcessStatus(Integer processStatus) { this.processStatus = processStatus; }
    public String getPatientIdentityNumber() { return patientIdentityNumber; }
    public void setPatientIdentityNumber(String patientIdentityNumber) { this.patientIdentityNumber = patientIdentityNumber; }
    public String getDepartmentInformationId() { return departmentInformationId; }
    public void setDepartmentInformationId(String departmentInformationId) { this.departmentInformationId = departmentInformationId; }
    public String getDepartmentName() { return departmentName; }
    public void setDepartmentName(String departmentName) { this.departmentName = departmentName; }
    public String getPrescriptionInformationId() { return prescriptionInformationId; }
    public void setPrescriptionInformationId(String prescriptionInformationId) { this.prescriptionInformationId = prescriptionInformationId; }
    public String getPatientSymptoms() { return patientSymptoms; }
    public void setPatientSymptoms(String patientSymptoms) { this.patientSymptoms = patientSymptoms; }
    public String getPrescriptionDescription() { return prescriptionDescription; }
    public void setPrescriptionDescription(String prescriptionDescription) { this.prescriptionDescription = prescriptionDescription; }
    public String getPersonalizedSuggestionId() { return personalizedSuggestionId; }
    public void setPersonalizedSuggestionId(String personalizedSuggestionId) { this.personalizedSuggestionId = personalizedSuggestionId; }
    public Integer getSuggestionInputMode() { return suggestionInputMode; }
    public void setSuggestionInputMode(Integer suggestionInputMode) { this.suggestionInputMode = suggestionInputMode; }
    public String getSportsSuggestion() { return sportsSuggestion; }
    public void setSportsSuggestion(String sportsSuggestion) { this.sportsSuggestion = sportsSuggestion; }
    public String getDietSuggestion() { return dietSuggestion; }
    public void setDietSuggestion(String dietSuggestion) { this.dietSuggestion = dietSuggestion; }
    public String getSleepSuggestion() { return sleepSuggestion; }
    public void setSleepSuggestion(String sleepSuggestion) { this.sleepSuggestion = sleepSuggestion; }
    public String getOtherCustomSuggestion() { return otherCustomSuggestion; }
    public void setOtherCustomSuggestion(String otherCustomSuggestion) { this.otherCustomSuggestion = otherCustomSuggestion; }
    public String getPersonalMedicineListId() { return personalMedicineListId; }
    public void setPersonalMedicineListId(String personalMedicineListId) { this.personalMedicineListId = personalMedicineListId; }
    public String getMedicineInformationId() { return medicineInformationId; }
    public void setMedicineInformationId(String medicineInformationId) { this.medicineInformationId = medicineInformationId; }
    public Integer getMedicineQuantity() { return medicineQuantity; }
    public void setMedicineQuantity(Integer medicineQuantity) { this.medicineQuantity = medicineQuantity; }
    public String getMedicineId() { return medicineId; }
    public void setMedicineId(String medicineId) { this.medicineId = medicineId; }
    public String getMedicineName() { return medicineName; }
    public void setMedicineName(String medicineName) { this.medicineName = medicineName; }
    public BigDecimal getMedicinePrice() { return medicinePrice; }
    public void setMedicinePrice(BigDecimal medicinePrice) { this.medicinePrice = medicinePrice; }
    public String getMedicineSpecification() { return medicineSpecification; }
    public void setMedicineSpecification(String medicineSpecification) { this.medicineSpecification = medicineSpecification; }
    public String getMedicineUsageMethod() { return medicineUsageMethod; }
    public void setMedicineUsageMethod(String medicineUsageMethod) { this.medicineUsageMethod = medicineUsageMethod; }
}